<template>
  <div>
    <div class="list">
      <div class="li">
        <h4>1号柜箱</h4>
        <div class="det">
          <img src="../assets/del1.png" alt="">
          <p>杜蕾斯 避孕套 男用 安全套超薄尊享三合一男用 安全套超男用 安全套</p>
        </div>
        <div class="btnHandle">
          <div class="left btn">酒店缺货请点我</div>
          <div class="right btn">商品已放入货柜</div>
        </div>
      </div>
      <div class="li">
        <h4>5号柜箱</h4>
        <div class="det">
          <img src="../assets/del2.png" alt="">
          <p>南极人睡衣女冬季法兰绒加厚</p>
        </div>
        <div class="btnHandle">
          <div class="left btn">酒店缺货请点我</div>
          <div class="right btn">商品已放入货柜</div>
        </div>
      </div>
      <div class="li">
        <h4>6号柜箱</h4>
        <div class="det">
          <img src="../assets/del3.png" alt="">
          <p>女空姐校花制服诱惑组合套装</p>
        </div>
        <div class="btnHandle">
          <div class="left btn">酒店缺货请点我</div>
          <div class="right btn">商品已放入货柜</div>
        </div>
      </div>
    </div>
    <div class="replen" @click="repFinish">
      <p>补货完成</p>
    </div>
  </div>
</template>
  name: 'Smbhuo'
<script>
export default {
  name: 'Smbhuo',
  methods: {
    repFinish () {
      this.$router.push({name: 'Purchase'})
    }
  }
}
</script>

<style lang='scss' scoped>
.list{
    box-sizing: border-box;
    .li{
      background-color: #fff;
      margin-bottom: 4vw;
      &:last-child{
          margin-bottom: 5vw;
        }
      h4{
        height: 14.66vw;
        padding: 0 3.46vw;
        line-height: 14.66vw;
        font-size: 5.6VW;
        font-family:SourceHanSansCN-Bold;
        font-weight:bold;
        color:rgba(22,22,22,1);
      }
      .det{
        height: 44vw;
        padding: 0 3.46vw;
        display: flex;
        align-items: center;
        img{
          width: 40vw;
          height: 40vw;
          margin-right: 2vw;
        }
        p{
          width: 51.73vw;
          font-size: 5.6vw;
          font-family:SourceHanSansCN-Bold;
          font-weight:bold;
          color:rgba(22,22,22,1);
          line-height: 7.5vw;
        }
      }
      .btnHandle{
        height: 20.26vw;
        padding: 0 3.46vw;
        display: flex;
        align-items: center;
        justify-content: space-between;
        .btn{
          width: 44.53vw;
          height: 14.93vw;
          border-radius: 0.8vw;
          text-align: center;
          line-height: 14.93vw;
          font-size: 5.06vw;
          font-family:SourceHanSansCN-Bold;
          font-weight:bold;
          color:rgba(255,255,255,1);
          &.left{
            background-color: #f00;
          }
          &.right{
            background-color: #0A6DFF;
          }
        }
      }
    }
  }
  .replen{
    // width: 100%;
    height: 22.93vw;
    padding: 0 3.46vw;
    display: flex;
    align-items: center;
    p{
      width: 100%;
      height: 14.93vw;
      background-color: #0A6DFF;
      text-align: center;
      line-height: 14.93vw;
      font-size: 5.6vw;
      font-family:SourceHanSansCN-Bold;
      font-weight:bold;
      color:rgba(255,255,255,1);
    }
  }
</style>
